home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / BARNET / ARMLINUX / MAIL / 9804 / 000137_owner-linux-arm…r.rutgers.edu _Tue Apr 28 21:41:21 1998.msg < prev    next >
Internet Message Format  |  1998-05-13  |  5KB

  1. Return-Path: <owner-linux-arm-outgoing@vger.rutgers.edu>
  2. Received: from orava.funet.fi (orava.funet.fi [128.214.248.46])
  3.     by odie.barnet.ac.uk (8.8.6/8.8.6) with ESMTP id VAA01851
  4.     for <willy@odie.fluff.org>; Tue, 28 Apr 1998 21:41:20 +0100
  5. Received: from vger.rutgers.edu ([128.6.190.2]:2223 "EHLO vger.rutgers.edu" ident: "root") by orava.funet.fi with ESMTP id <391813-23948>; Tue, 28 Apr 1998 23:41:14 +0300
  6. Received: by vger.rutgers.edu id <971203-8838>; Tue, 28 Apr 1998 16:22:02 -0400
  7. Received: from snowcrash.cymru.net ([163.164.160.3]:1427 "EHLO snowcrash.cymru.net" ident: "TIMEDOUT") by vger.rutgers.edu with ESMTP id <971214-8838>; Tue, 28 Apr 1998 16:21:38 -0400
  8. Received: from caramon.armlinux.org (dialup4.cymru.net [163.164.160.68]) by snowcrash.cymru.net (8.8.7/8.7.1) with ESMTP id VAA06110; Tue, 28 Apr 1998 21:39:41 +0100
  9. Received: from raistlin.armlinux.org (raistlin [192.168.0.3]) by caramon.armlinux.org (8.7.4/8.7.3) with ESMTP id VAA01887; Tue, 28 Apr 1998 21:39:55 +0100
  10. From: Russell King - ARM Linux Admin <linux@arm.uk.linux.org>
  11. Received: (from linux@localhost) by raistlin.armlinux.org (8.7.4/8.7.3) id VAA02379; Tue, 28 Apr 1998 21:39:36 +0100
  12. Message-Id: <199804282039.VAA02379@raistlin.armlinux.org>
  13. Subject: Re: Armlinux 2.0.33 compile fails
  14. To: glennr@es.co.nz
  15. Date:     Tue, 28 Apr 1998 21:39:36 +0100 (BST)
  16. Cc: linux-arm@vger.rutgers.edu
  17. In-Reply-To: <19980428.210433.59@flipper.penguin-eng.co.nz> from "Glenn Ramsey" at Apr 28, 98 09:04:33 pm
  18. X-Mailer: ELM [version 2.4 PL24]
  19. MIME-Version: 1.0
  20. Content-Type: text/plain; charset=US-ASCII
  21. Content-Transfer-Encoding: 7bit
  22. X-Orcpt: rfc822;linux-arm@vger.rutgers.edu
  23. Sender: owner-linux-arm@vger.rutgers.edu
  24. Precedence: bulk
  25. X-Loop: majordomo@vger.rutgers.edu
  26. Status: RO
  27.  
  28. Glenn Ramsey writes:
  29. > > > I have been unable to compile the latest 2.0.33 kernel with
  30. > > > the 19980426 patch or the 19980419 patch
  31. > > If this doesn't work, let me know, and please include a copy of
  32. > > the .config file (in the linux/ directory).
  33. > It didn't work.
  34.  
  35. Well done ;)  You've found a problem in Linus' source code that apparantly
  36. no one else has found yet.  Here is the patch that I'm forwarding for 2.0.34
  37. to fix this problem:
  38.  
  39. --- orig/linux/net/netsyms.c    Sun Jan 18 21:58:25 1998
  40. +++ linux/net/netsyms.c Tue Apr 28 20:37:55 1998
  41. @@ -13,6 +13,7 @@
  42.  #include <linux/netdevice.h>
  43.  #include <linux/trdevice.h>
  44.  #include <linux/ioport.h>
  45. +#include <net/sock.h>
  46.  
  47.  #ifdef CONFIG_AX25
  48.  #include <net/ax25.h>
  49.  
  50. Also, there appear to be link errors in this configuration, which are
  51. fixed by:
  52.  
  53. --- orig/linux/net/core/sock.c    Sun Jan 18 21:57:37 1998
  54. +++ linux/net/core/sock.c    Tue Apr 28 20:55:05 1998
  55. @@ -72,6 +72,7 @@
  56.   *                    easier (suggested by Craig Metz).
  57.   *        Michael Pall    :    SO_ERROR returns positive errno again
  58.   *              Elliot Poger    :       Added support for SO_BINDTODEVICE.
  59. + *        Russell King    :    Add #ifdef CONFIG_INET to SO_BINDTODEVICE
  60.   *
  61.   * To Fix:
  62.   *
  63. @@ -247,13 +248,13 @@
  64.                   if(err)
  65.                       return err;
  66.                   memcpy_fromfs(&req,optval,sizeof(req));
  67. -
  68. +#ifdef CONFIG_INET
  69.                  /* Remove any cached route for this socket. */
  70.                  if (sk->ip_route_cache) {
  71.                      ip_rt_put(sk->ip_route_cache);
  72.                      sk->ip_route_cache=NULL;
  73.                  }
  74. -
  75. +#endif
  76.                   if (*(req.ifr_name) == '\0') {
  77.                       sk->bound_device = NULL;
  78.                   } else {
  79. --- orig/linux/net/ethernet/eth.c    Mon Aug  5 08:13:55 1996
  80. +++ linux/net/ethernet/eth.c    Tue Apr 28 20:56:16 1998
  81. @@ -30,6 +30,8 @@
  82.   *        Alan Cox    : Protect against forwarding explosions with
  83.   *                  older network drivers and IFF_ALLMULTI.
  84.   *    Christer Weinigel    : Better rebuild header message.
  85. + *        Russell King    : eth_header_cache_bind and eth_header_cache_update
  86. + *                  only compiled if CONFIG_INET is selected
  87.   *
  88.   *        This program is free software; you can redistribute it and/or
  89.   *        modify it under the terms of the GNU General Public License
  90. @@ -218,6 +220,7 @@
  91.      return htons(ETH_P_802_2);
  92.  }
  93.  
  94. +#ifdef CONFIG_INET
  95.  /*
  96.   * Upper level calls this function to bind hardware header cache entry.
  97.   * If the call is successful, then corresponding Address Resolution Protocol
  98. @@ -258,6 +261,7 @@
  99.      memcpy(hh->hh_data, haddr, ETH_ALEN);
  100.      hh->hh_uptodate = 1;
  101.  }
  102. +#endif
  103.  
  104.  /*
  105.   *    Copy from an ethernet device memory space to an sk_buff while checksumming if IP
  106.  
  107. You will also have to edit arch/arm/lib/Makefile to include checksum.o
  108. unconditionally.
  109.  
  110. These will, naturally, be in my next 2.0 kernel patches on Sunday (and hopefully
  111. the 2.0.34 kernel release from Linus when it happens).
  112.    _____
  113.   |_____| ------------------------------------------------- ---+---+-
  114.   |   |        Russell King       linux@arm.uk.linux.org      --- ---
  115.   | | | |  http://www.arm.uk.linux.org/~rmk/armlinux.html    /  /  |
  116.   | +-+-+                                                     --- -+-
  117.   /   |               THE developer of ARM Linux              |+| /|\
  118.  /  | | |                                                     ---  |
  119.     +-+-+ -------------------------------------------------  /\\\  |
  120.  
  121. unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu